<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!--这是一句CSS的代码，目的是使表格中的内容全部集中-->
    <style>
        
        td{
            text-align: center;
        }
    </style>

</head>
<body>
    <table width="500px" height="300px" border="1px" cellspacing="0">
        <tr>
            <th>姓名</th>
            <th>电话</th>
        </tr>
        <tr>
            <td>小王</td>
            <td>111111</td>
        </tr>

        <tr>
            <td>小李</td>
            <td>21231</td>
        </tr>

        <tr>
            <td>小张</td>
            <td>2134243</td>
        </tr>

    </table>
</body>
</html>